package cn.wolfcode.service;

import cn.wolfcode.domain.Department;
import cn.wolfcode.result.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 *@Description: 部门业务实现类
 *@Author: 伍家钰
 *@Date: 2020/7/11 20:48
 *@Version: 1.0
 */
public interface IDepartmentService {
    void delete(Long id);

    void save(Department department);

    Department selectById(Long id);

    List<Department> selectAll();

    void update(Department department);

    PageInfo<Department> query(QueryObject qo);
}
